package com.jingdianjichi.auth.convert;

import com.jingdianjichi.auth.domain.entity.AuthRoleBO;
import com.jingdianjichi.auth.dto.AuthRoleDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthRoleDTOConverter {
    AuthRoleDTOConverter INSTANCE = Mappers.getMapper(AuthRoleDTOConverter.class);
    AuthRoleBO convertDtoToBoAuthRole(AuthRoleDTO authRoleDTO);
    AuthRoleDTO convertBoAuthRoleToDto(AuthRoleBO authRoleBO);
}
